package OwnSideObject;

import com.sxt.*;

import java.awt.*;

abstract public class OwnSideObject extends GameObject {
    //横向速度
    public int speedX = 0;
    public OwnSideObject() {
        super();
    }

    public OwnSideObject(String image, GameWin frame) {
        super(image, frame);
    }

    public OwnSideObject(String image, int x, int y, int speedY, GameWin frame) {
        super(image, x, y, speedY, frame);
    }

    public OwnSideObject(String image, int x, int y, int width, int height, int speedY, GameWin frame) {
        super(image, x, y, width, height, speedY, frame);
    }

    @Override
    abstract public void paintSelf(Graphics s);

    @Override
    abstract public Rectangle getRec();

    @Override
    abstract public void DeBug();
}
